package com.cloud.clouduser.security.base.validate.image;

/**
 * @Aurher: QiaoHang
 * @Description:
 * @Data: 2019/9/26 11:38
 * @Modified By:
 */
public class ValidateImageCodePeoperties {

    //需要被验证的路径
    private String validatePath = "/authentication/form";
    // 图形验证码的字符集合，系统将随机从这个字符串中选择一些字符作为验证码
    private static String codeChars = "%#0123456789qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM";
    //图片默认宽高
    private int width = 90;
    private int height = 24;
    //验证码字符个数
    private int charLength = 4;
    //验证码有效时间
    private int userAbleTime = 60;


    public String getValidatePath() {
        return validatePath;
    }

    public int getUserAbleTime() {
        return userAbleTime;
    }

    public void setUserAbleTime(int userAbleTime) {
        this.userAbleTime = userAbleTime;
    }

    public void setValidatePath(String validatePath) {
        this.validatePath = validatePath;
    }


    public String getCodeChars() {
        return codeChars;
    }

    public void setCodeChars(String codeChars) {
        this.codeChars = codeChars;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getCharLength() {
        return charLength;
    }

    public void setCharLength(int charLength) {
        this.charLength = charLength;
    }
}
